package com.test.design.example2.dto;

import com.test.design.example2.dto.cxcp.Dialog;

/**
 * @program: design-patternz
 * @description: windows弹窗
 * @author: <a href="mailto:zhengjiaming@gtmap.cn">zhengjiaming</a>
 * @create: 2024-12-26 11:11
 **/
public class WindowsDialog implements Dialog {
    private String wz; //位置
    private String bj; //背景

    public String getWz() {
        return wz;
    }

    public void setWz(String wz) {
        this.wz = wz;
    }

    public String getBj() {
        return bj;
    }

    public void setBj(String bj) {
        this.bj = bj;
    }

    @Override
    public String toString() {
        return "WindowsDialog{" +
                "wz='" + wz + '\'' +
                ", bj='" + bj + '\'' +
                '}';
    }

    @Override
    public boolean type() {
        System.out.println("弹出了windows弹窗" + wz + bj);
        return false;
    }
}
